package net.oschina.app.pages;

import android.widget.TextView;

import net.oschina.app.SoloWrap;

/**
 * Created by Aaron on 2017/3/5.
 */

public class PageLogout {
    private SoloWrap solo;
    TextView logoutTV;

    public PageLogout(SoloWrap solo){
        this.solo = solo;
    }

    public void initViews(){
        solo.waitForText("我的团队");
        logoutTV = (TextView) solo.getView("net.oschina.app:id/rl_cancle");
    }

    public void clickLogout(){
        solo.clickOnView(logoutTV);
    }



}
